package com.shop.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
// 让eureka注册中心扫描到该服务。从Spring Cloud Edgware开始，@EnableDiscoveryClient 可省略
@EnableDiscoveryClient // 客户端 开启服务发现
@MapperScan("com.shop.user.mapper")
public class ShopUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShopUserApplication.class, args);
    }
}
